package work.mediway.bi.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
  *@version
  *@description      
  *@author          bovane <bovane.ch@gmail.com>
  *@create          2023-06-16 11:01
  */

/**
 * 界面操作表
 */
@ApiModel(description = "界面操作表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_interface_oper")
public class InterfaceOper {
    /**
     * 界面设置ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "界面设置ID")
    private Integer id;

    /**
     * 界面代码(存UUID)
     */
    @TableField(value = "interface_code")
    @ApiModelProperty(value = "界面代码(存UUID)", required = true)
    private String interfaceCode;

    /**
     * 界面名称
     */
    @TableField(value = "interface_name")
    @ApiModelProperty(value = "界面名称")
    private String interfaceName;

    /**
     * 界面描述
     */
    @TableField(value = "interface_desc")
    @ApiModelProperty(value = "界面描述")
    private String interfaceDesc;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 启用状态
     */
    @TableField(value = "is_actived")
    @ApiModelProperty(value = "启用状态")
    private Boolean actived;

    /**
     * 发布状态
     */
    @TableField(value = "push_status")
    @ApiModelProperty(value = "发布状态")
    private String pushStatus;

    /**
     * 数据配置
     */
    @TableField(value = "data_config")
    @ApiModelProperty(value = "数据配置")
    private String dataConfig;

    /**
     * 原生json
     */
    @TableField(value = "raw_json")
    @ApiModelProperty(value = "原生json")
    private String rawJson;
}